package cn.itsource.hrm.service;

import cn.itsource.hrm.document.CourseDoc;
import cn.itsource.hrm.query.CourseQuery;
import cn.itsource.hrm.utils.AjaxResult;

public interface ISearcherService {
    /**
     * 将课程保存到ES中
     * @param courseDoc
     */
    void save (CourseDoc courseDoc);

    /**
     * 到ES搜索课程
     * @param query
     * @return
     */
    AjaxResult searchCourse (CourseQuery query);
}
